<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<html lang="en-us" xml:lang="en-us">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="Periodic Backup">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="en-us_topic_0000001839142153.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect Appliance 1.5.0-1.6.0 Help Center">
  <meta name="DC.Publisher" content="20240608">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="EN-US_TOPIC_0000001839222005">
  <meta name="DC.Language" content="en-us">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>Periodic Backup</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="EN-US_TOPIC_0000001839222005"></a><a name="EN-US_TOPIC_0000001839222005"></a>
  <h1 class="topictitle1">Periodic Backup</h1>
  <div>
   <p>After resources to be protected are associated with an SLA, the system protects the resources based on the SLA.</p>
   <div class="section">
    <h4 class="sectiontitle">Procedure</h4>
    <ol>
     <li><span>Choose <span class="uicontrol" id="EN-US_TOPIC_0000001839222005__en-us_topic_0000001792342950_en-us_topic_0000001839142377_uicontrol865195012392"><b><span id="EN-US_TOPIC_0000001839222005__en-us_topic_0000001792342950_en-us_topic_0000001839142377_text4651950123919"><strong>Protection</strong></span> &gt; Big Data &gt; GaussDB (DWS)</b></span>.</span></li>
     <li id="EN-US_TOPIC_0000001839222005__en-us_topic_0000001346641948_li121861415184818"><span>Click the <span class="uicontrol" id="EN-US_TOPIC_0000001839222005__uicontrol14705224101119"><b><span id="EN-US_TOPIC_0000001839222005__text1792112754418"><strong>Cluster</strong></span></b></span>, <span class="uicontrol" id="EN-US_TOPIC_0000001839222005__en-us_topic_0000001397042241_uicontrol7186131513484"><b><span id="EN-US_TOPIC_0000001839222005__text8331393414"><strong>Schema Sets</strong></span></b></span>, and <span class="uicontrol" id="EN-US_TOPIC_0000001839222005__en-us_topic_0000001346641948_uicontrol10151651133510"><b><span id="EN-US_TOPIC_0000001839222005__text32517382346"><strong>Table Sets</strong></span></b></span> tabs.</span></li>
     <li><span>In the row where the cluster, schema set, or table set to be protected resides, choose <span class="menucascade"><b><span class="uicontrol">More</span></b> &gt; <b><span class="uicontrol">Protect</span></b></span>.</span><p></p><p>You can choose multiple table sets for batch protection.</p>
      <div class="note">
       <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p>To protect a table set:</p>
        <ul>
         <li>Ensure that GDS has been started on the agent host. GDS running on the GaussDB (DWS) node occupies resources in the production environment. Therefore, you are advised to start GDS on the agent host. For details about how to start GDS, see <span class="uicontrol"><b>Installing, Configuring, and Starting GDS</b></span> in the GaussDB (DWS) product documentation of the corresponding version.</li>
         <li>Parameters <strong>-d</strong>, <strong>-p</strong>, and <strong>-t</strong> are required for starting GDS. The directory for storing data of each GDS must be unique. The following is an example:<pre class="screen">/home/gds_user/bin/gds <strong>-d</strong><strong> </strong>/home/gds_user/input_data_1/ <strong>-p</strong> 192.168.97.240:9001 -H 0/0 -l /home/gds_user/gds_log/gds_process1.log -D <strong>-t</strong> 2
/home/gds_user/bin/gds <strong>-d</strong> /home/gds_user/input_data_2/ <strong>-p</strong> 192.168.97.240:9002 -H 0/0 -l /home/gds_user/gds_log/gds_process2.log -D <strong>-t</strong> 2
/home/gds_user/bin/gds <strong>-d</strong> /home/gds_user/input_data_3/ <strong>-p</strong> 192.168.97.240:9003 -H 0/0 -l /home/gds_user/gds_log/gds_process3.log -D <strong>-t</strong> 2
/home/gds_user/bin/gds <strong>-d</strong> /home/gds_user/input_data_4/ <strong>-p</strong> 192.168.97.240:9004 -H 0/0 -l /home/gds_user/gds_log/gds_process4.log -D <strong>-t</strong> 2</pre></li>
         <li>If you start GDS on multiple agent hosts, the system uses the agent host with the largest number of GDSs for backup. Therefore, you are advised to start multiple GDSs as one user on only one agent host. To achieve the highest performance, it is recommended that the number of GDSs to be started be four times and eight times the number of backup storage units for a dual-controller system and a four-controller system, respectively.</li>
         <li>If the GaussDB (DWS) node is deployed with the sandbox, map GDS configuration directory in the sandbox to the corresponding directory on the host by referring to <a href="en-us_topic_0000001792342930.html">Precautions for GDS Running in a GaussDB (DWS) Node Where the Sandbox Is Deployed</a> before GDS-based table set backup.</li>
        </ul>
       </div>
      </div> <p></p></li>
     <li><span>Enter <span class="uicontrol"><b><span><strong>Backup Metadata Storage Path</strong></span></b></span>. Enter a directory on a GaussDB (DWS) node to store backup copy metadata. If the directory does not exist, the system will automatically create it. The GaussDB (DWS) cluster user must have the read and write permissions on the directory.</span><p></p>
      <div class="note">
       <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p>At least 20 GB disk space must be reserved on the Backup Metadata Storage Path. Do not configure the path as a system volume or production service volume. Otherwise, production services will be affected when the disk space is insufficient.</p>
       </div>
      </div> <p></p></li>
     <li><span>Select an SLA.</span><p></p><p>You can also click <span class="uicontrol"><b><span><strong>Create</strong></span></b></span> to create an SLA.</p>
      <div class="note">
       <img src="public_sys-resources/note_3.0-en-us.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p>Preset SLAs cannot be selected when schema sets or table sets are to be protected.</p>
       </div>
      </div> <p></p></li>
     <li><span>Click <span class="uicontrol" id="EN-US_TOPIC_0000001839222005__en-us_topic_0000001792503842_uicontrol196538515235"><b>OK</b></span>. </span><p></p><p id="EN-US_TOPIC_0000001839222005__en-us_topic_0000001792503842_p25041111535">If the current system time is later than the first backup start time of the SLA, you can select to perform backup immediately after the backup SLA is associated or wait for the next scheduling based on the backup policy set in the SLA.</p> <p></p></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>Parent topic:</strong> <a href="en-us_topic_0000001839142153.html">Step 7: Performing Backup</a>
    </div>
   </div>
  </div>
 </body>
</html>